/**
  EG4Sim project, Anyang Normal University && IMP-CAS
  \class EG4Dipo
  \brief the model of the dipo magnet
  \author SUN Yazhou, asia.rabbit@163.com
  \since 2023-10-12
  \date 2023-10-12 last modified
  \copyright Copyright (c) 2023-2024 IMP-CAS with LGPLv3 LICENSE
*/

#ifndef EG4Dipo_h
#define EG4Dipo_h

#include "EG4Det.h"

class G4LogicalVolume;
class G4VPhysicalVolume;

class EG4Dipo : public EG4Det{
public:
  EG4Dipo();
  virtual ~EG4Dipo();

protected:
  G4LogicalVolume *fIronLV;

  G4VPhysicalVolume *fIronPV;
  G4VPhysicalVolume *fFR4PlatePVUp, *fFR4PlatePVDown;
  G4VPhysicalVolume *fPillar0, *fPillar1, *fPillar2, *fPillar3;
  G4VPhysicalVolume *fCoilXD_d, *fCoilXU_d, *fCoilZL_d, *fCoilZR_d;
  G4VPhysicalVolume *fCoilXD_u, *fCoilXU_u, *fCoilZL_u, *fCoilZR_u;
};

#endif
